<?php get_header(); ?>
<div id="main">    
    <div class="gdl-navigation-wrapper">
        <div class="page-header-tile">
            <div class="page-header-outer-wrapper">
                <div class="page-header-wrapper">
                    <h1 class="page-header-title">Tin tức</h1>
                    <div class="page-header-caption">Tổng hợp các bản tin của Tập đoàn</div>
                </div>                
            </div>            
        </div>        
    </div>
    <div id="content"> 
        <div class="page-content left-side">
            <div class="blog-item-holder">
                <?php if (have_posts()):while (have_posts()):the_post(); ?>
                        <div class="gdl-blog-medium">
                            <div class="blog-content-wrapper">
                                <div class="blog-media-wrapper gdl-image">
                                    <a href="<?php the_permalink();?>">
                                        <?php
                                        if (has_post_thumbnail()) { // check if the post has a Post Thumbnail assigned to it.
                                            the_post_thumbnail(array(325,255));
                                        }
                                        ?>
                                    </a>
                                </div>
                                <div class="blog-context-wrapper">
                                    <h2 class="blog-title">
                                        <a href="<?php the_permalink();?>"><?php the_title(); ?></a>
                                    </h2>
                                    <div class="blog-info-wrapper">
                                        <div class="blog-date-wrapper">
                                            <a href=""><?php the_date('d-m-Y'); ?></a>
                                        </div>
                                        <div class="blog-author">
                                            <a rel="author" title="Posts by <?php the_author(); ?> " href=""><?php the_author(); ?> </a>
                                        </div>                                        
                                        <div class="clear"></div>                                    
                                    </div>
                                    <div class="blog-content"><?php the_excerpt(); ?> 
                                        <div class="clear"></div>
                                        <a href="<?php the_permalink();?>" class="blog-continue-reading gdl-button">Read More</a>
                                    </div>
                                </div>                            
                                <div class="clear"></div>
                            </div>                        
                        </div>
                        <?php
                    endwhile;
                endif;
                ?>
            </div>   
            <div class="clear"></div>
            <div class="gdl-pagination">
                <?php wp_pagenavi(); ?>
            </div>            
        </div>
        <div class="sidebar-contact sidebar right-side">
            <?php
            if (!function_exists('dynamic_sidebar') || !dynamic_sidebar('sidebar_news')) {
                
            }
            ?>
        </div>
    </div>
</div>

<?php get_footer(); ?>